package main

import (
	"awesomeProject1/微信登录demo/dao"
	"awesomeProject1/微信登录demo/routers"
)

func main() {

	//连接数据库
	dao.MysqlConnect()
	defer dao.DB.Close()
	dao.DB.LogMode(true)
	dao.DB.Debug()

	r := routers.SetupRouters()

	r.Run(":8181")

}
